﻿using SqlSugar;

namespace Zhp.Model.Formula
{
    public class FormulaDataModel
    {
        public long Id { get; set; }
        public long MainId { get; set; }

        public string FormulaKey { get; set; }

        public string FormulaName { get; set; }

        public string FormulaValue { get; set; }

        public string FormulaKeys { get; set; }

        public string FormulaNames { get; set; }

        public string VariableIds { get; set; }

        public string[] VariableIdArray { get; set; }

        public string[] FormulaNameArray{ get; set; }

        public string[] FormulaKeyArray { get; set; }

        public string EntityType { get; set; }

        public string VariablePrimaryKeys { get; set; }
    }


    public class FormulaDataSearch : PageModel
    {

    }

    public class FormulaDataEdit
    {
        public long Id { get; set; }
        public long MainId { get; set; }

        public string FormulaKey { get; set; }

        public string FormulaName { get; set; }

        public string FormulaValue { get; set; }

        public string[] VariableIdArray { get; set; }

        public string[] FormulaNameArray { get; set; }

        public string[] FormulaKeyArray { get; set; }

        public string EntityType { get; set; }

        public string VariablePrimaryKeys { get; set; }
    }
}
